//
//  UICenteredLabel.m
//  Mimik
//
//  Created by Mikkel Gravgaard on 24/12/09.
//  Copyright 2009 Betafunk. All rights reserved.
//

#import "UICenteredLabel.h"


@implementation UICenteredLabel

- (void) setText:(NSString *)text{
   [super setText:text];
   [self sizeToFit];
   CGPoint parentCenter = self.superview.superview.center;
   parentCenter.y = self.center.y;
 	[self setCenter:parentCenter];
}


@end
